.tab {
  margin:5px 8px 0 0;
  border-bottom: 1px solid #a7a7a7;  
}

.tab ul {
}


.tab ul li {
  float:left;
  text-align:center;
  line-height:22px;
  margin-left:3px;
  background:#fff;
  border:1px solid #D8DFEA;
  border-bottom:none;  
}

.tab ul li a {
  display:block;
  padding:0px 8px;
  cursor:pointer;
}

.tab ul li a:hover {
  text-decoration:underline;
}

.tab ul li span a,
.tab ul li.selected a {
  color:white;
  font-weight:bold;
}

.tab ul li span a:hover, 
.tab ul li.selected a {
  color:white;
}

